﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace Tulde.Windows.Music.ViewModel
{
    [JsonObject()]
    public class SearchResultCollection
    {


        [JsonProperty("summary")]
        public SearchResultSummary Summary { get; set; }



    }
    [JsonObject()]
    public class SearchResultSummary
    {
        [JsonProperty("search")]
        public string Search { get; set; }
        [JsonProperty("type")]
        public string Type { get; set; }
          [JsonProperty("totalResults")]
        public TotalResults TotalResults
        {
            get;
            set;
        }

    }
     [JsonObject()]
    public class TotalResults
    {
           [JsonProperty("artist")]
         public int Artist
         {
             get;
             set;
         }
           [JsonProperty("album")]
         public int Album
         {
             get;
             set;
         }
           [JsonProperty("track")]
         public int Track
         {
             get;
             set;
         }
    }
}
